import java.util.ArrayList;
import java.util.Stack;

public class Test {
    public static void main(String[] args) {

        Stack<Integer> stack = new Stack<>();
        stack.push(25);
        stack.push(56);
        stack.add(56);
        System.out.println(stack);
        System.out.println(stack.pop());
        System.out.println(stack);
    }
}
